package kr.hkit.PowerJava.chapter08.work;

public class Programming6Test {
public static void main(String[] args) {
	Programming6 account = new Programming6("장동건", 12341234, 100);
	System.out.println(account);
	account.deposit(10000);
	System.out.println(account);
    int result = account.withdraw(20000);
	System.out.println(result);
	System.out.println(account);
	Programming6 otherAccount = new Programming6("김태희", 5678956, 5000);
    System.out.println(otherAccount);
	account.transfer(3000, otherAccount);
	System.out.println(otherAccount);
	System.out.println(account);
}
}
